//
//	File Name   :	TextureBase.cpp
//	Description :	TextureBase implementation file.
//	Author		:	William McVicar
//  Mail		:	mcvicar.william@gmail.com
//

//  Precompiled Header
#include "CommonDefines.h"

//  Library Includes

//  Local Includes

//  This includes
#include "TextureBase.h"

//	Macros

//  Static Variables

//  Static Function Prototypes

//  Implementation\

namespace Protein
{

TextureBase::TextureBase( const std::string& _krName )
: m_textureName	  ( _krName )
, m_referenceCount( 0 )
{
	//
}

TextureBase::TextureBase( const char* _szName )
: m_textureName	  ( _szName )
, m_referenceCount( 0 )
{
	//
}


TextureBase::~TextureBase()
{
	
}

bool TextureBase::Load()
{
	return m_Image.load( m_textureName.c_str() );
}

bool TextureBase::Unload()
{
	m_Image.clear();
	return true;
}

}